<?php

namespace App\Models;

/**
 * App\Models\Config
 *
 * @property int $id
 * @property string $name 标识
 * @property array $setting 参数值
 * @method static \Illuminate\Database\Eloquent\Builder|Config newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Config newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Config query()
 * @method static \Illuminate\Database\Eloquent\Builder|Config whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Config whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Config whereSetting($value)
 * @mixin \Eloquent
 */
class Config extends Base
{
    protected $table = 'configs';

    public $timestamps = false;

    protected $fillable = [
        'id','name','setting'
    ];

    protected $casts = ['setting' => 'array'];


}
